import { BaseService, Service } from '@/utils/request';
@Service('app-api/member/auth')
export default class extends BaseService {
    // 登录
    login(data) {
        return this.request({
            url: '/weixin-mini-app-login',
            method: 'POST',
            data,
        });
    }
    // 登出系统
    logout(data) {
        return this.request({
            url: '/logout',
            method: 'POST',
            data,
        });
    }
    // 更新手机号
    updatePhone(data) {
        return this.request({
            url: '/weixin-mini-app-update-mobile',
            method: 'POST',
            data,
        });
    }
}
